<?php
header ("Content-Type:text/html; charset= utf-8");
require_once ('config.php');
require_once (WEBURL.'/include/conn.php');
require_once (WEBURL.'/login_status_check.php');
if(empty($_GET['article_id'])){
	echo "forbidden!";
	exit();
}
$article_id=$_GET['article_id'];
$article_title=$_GET['article_title'];
if(!checkLogin()){
    $gotopage=base64_encode("article_remove.php?article_id=$article_id&article_title=$article_title");
	header("Location:admin_login.php?gotopage=".$gotopage);
	
}
else{
	require_once (WEBURL.'/channel.class.php');
	$smarty->assign("title","删除文章确认");
	$smarty->assign("article_id",$article_id);
	$smarty->assign("article_title",$article_title);
	$smarty->display("article_remove.htm");
}

